package com.example.nbaplayerssb.pojo;


import java.util.Date;

public class Players {

  private Integer pid;//球员编号
  private String pname;//球员名称
  private Date birthday;//出生日期
  private Integer height;//球员身高
  private Integer weight;//球员体重
  private String position;//球员位置
  private Integer cid;//所属球队名称


  public Players() {
  }

  public Players(Integer pid, String pname, Date birthday, Integer height, Integer weight, String position, Integer cid) {
    this.pid = pid;
    this.pname = pname;
    this.birthday = birthday;
    this.height = height;
    this.weight = weight;
    this.position = position;
    this.cid = cid;
  }

  /**
   * 获取
   * @return pid
   */
  public Integer getPid() {
    return pid;
  }

  /**
   * 设置
   * @param pid
   */
  public void setPid(Integer pid) {
    this.pid = pid;
  }

  /**
   * 获取
   * @return pname
   */
  public String getPname() {
    return pname;
  }

  /**
   * 设置
   * @param pname
   */
  public void setPname(String pname) {
    this.pname = pname;
  }

  /**
   * 获取
   * @return birthday
   */
  public Date getBirthday() {
    return birthday;
  }

  /**
   * 设置
   * @param birthday
   */
  public void setBirthday(Date birthday) {
    this.birthday = birthday;
  }

  /**
   * 获取
   * @return height
   */
  public Integer getHeight() {
    return height;
  }

  /**
   * 设置
   * @param height
   */
  public void setHeight(Integer height) {
    this.height = height;
  }

  /**
   * 获取
   * @return weight
   */
  public Integer getWeight() {
    return weight;
  }

  /**
   * 设置
   * @param weight
   */
  public void setWeight(Integer weight) {
    this.weight = weight;
  }

  /**
   * 获取
   * @return position
   */
  public String getPosition() {
    return position;
  }

  /**
   * 设置
   * @param position
   */
  public void setPosition(String position) {
    this.position = position;
  }

  /**
   * 获取
   * @return cid
   */
  public Integer getCid() {
    return cid;
  }

  /**
   * 设置
   * @param cid
   */
  public void setCid(Integer cid) {
    this.cid = cid;
  }

  public String toString() {
    return "Players{pid = " + pid + ", pname = " + pname + ", birthday = " + birthday + ", height = " + height + ", weight = " + weight + ", position = " + position + ", cid = " + cid + "}";
  }
}
